package com.healthcarex.hip.saas.oauth2config.store;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author  ChenPan
 * @date   2018/6/25 10:23
 * description: JWT(JSON WEB TOKEN 配置)
 */
@Configuration
@ConfigurationProperties(prefix = "auth.jwt")
@Data
public class JwtProperties {

  /**
   * JWT key
   */
  private String signkey = "healthcare";

  /**
   * JWT TOKEN PREFIX
   */
  private String prefix;

  /**
   * JWT AUTH REQUEST URL
   */
  private String jwtAuthUrl;

  /**
   * token存储方式
   */
  private String tokenStore = "Redis";


}
